home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SuperHack
/
SuperHack CD.bin
/
SCRIPTZ
/
C-SCRIPT.EXE
/
raw.cus
< prev
next >
Wrap
Text File
|
1997-04-04
|
5KB
|
177 lines
#max2 off
raw *:* { /halt }
#MAX2 end
#ialaupd2 off
raw 352:* { halt }
raw 315:* { disable #ialaupd2 | echo 13 %ialupdcn IAL Updated for %ialupdcn $+ ! }
#ialaupd2 end
#mkill off
raw 352:* {
if (* isin %mkilladdy) {
/set %mkilladdy $remove(%filter.kick.address,*)
}
if (%mkilladdy isin $3 $+ @ $+ $4) {
/kill $6 %mkillreason
}
}
raw 315:* {
.disable #MKILL
}
#MKILL end
#fkick off
raw 352:* {
if (* isin %filter.kick.address) {
/set %filter.kick.address $remove(%filter.kick.address,*)
}
if ($6 == $me) { halt }
if (%filter.kick.address isin $3 $+ @ $+ $4) {
if (%filter.kick.ban == On) { ban $2 $6 3 }
kick $2 $6 $chr(3) $+ 6Filter Kick of $+ $chr(3) $chr(3) $+ 4 $+ $chr(42) $+ %filter.kick.address $+ $chr(42) $+ $chr(3) $chr(3) $+ 6from $2 $+ $chr(3)
/unset %filter.kick
/unset %filter.kick.ban
}
}
raw 315:* {
.disable #FKICK
}
#FKICK end
raw 352:* {
set %adrs $6 $+ ! $+ $3 $+ @ $+ $4
set %clones $mask(%adrs,2)
if (%clones isin %clist) { /inc %clns | %nclns = %nclns $6 | %clnsaddys = %clnsaddys $3 $+ @ $+ $4 }
%clist = %clist %clones
set %addy $mask(%adrs,3)
inc %ppl
if (($level(%addy) == =999) || ($level(%addy) == 999) || ($level($6) == =999) || ($level($6) == 999)) { /inc %enem | %emnick = %emnick $6 }
if (($level(%addy) == 7) || ($level($6) == 7)) { /inc %frie | %frnick = %frnick $6 }
if (@ isin $7) { /inc %fops } | else { /inc %nops }
if (G isin $7) { /inc %appl }
if (+ isin $7) { /inc %vppl }
if (($left(2,$7) == H*) || ($left(2,$7) == G*)) { /inc %found | %iropn = %iropn $6 }
if (%CSCANRAW != Off) { halt }
}
raw 315:* {
if (%SCANRAW != Off) { set %SCANRAW Off | report }
if (%SSCANRAW != Off) { set %SSCANRAW Off | sreport }
if (%CSCANRAW != Off) { set %CSCANRAW Off | creport | halt }
if (%IRCopsRAW != Off) { set %IRCopsRAW Off | sIRCops }
}
raw 391:* {
if (%lagstat == on) {
%lag = $ctime - %pongtime
if (%lag > 60) set %lag MAX
else set %lag $duration(%lag)
/title
set %lagstat off
halt
}
}
raw 305:*: {
set %away FALSE
unset %AWAYR
unset %AWAYT
unset %AWAYMSG
/online
}
raw 306:*: {
set %away TRUE
/online
}
raw 315:*: {
if (%filter.kick == On) {
set %filter.kick Off
unset %filter.kick.address
halt
}
}
#chanstats on
raw 331:* {
set %schantop No topic set
/echo 3 $2 $chr(91) $+ $2 $+ $chr(93) Topic: %schantop
}
raw 332:* {
set %schantop $3-
/echo 3 $2 6 $+ $chr(91) $+ $2 $+ $chr(93) $+ 12Topic:7 %schantop $+
}
raw 333:* {
set %schanstop $3-
/echo 3 $2 6 $+ $chr(91) $+ $2 $+ $chr(93) $+ 12Topic set by: 7 $+ $3 $+ 12On: 7 $+ $asctime($4) $+
}
raw 353:* {
set %cstatschan $3
inc %chanopnum $count($3-,$chr(64))
inc %chanvnum $count($3-,$chr(43))
inc %chantnum $count($3-,$chr(32))
inc %channum $count($3-,$chr(32))
dec %channum %chanopnum
dec %channum %chanvnum
}
raw 366:* {
/echo 3 $2 6 $+ $chr(91) $+ $2 $+ $chr(93) $+ 12Number of People: 7 $+ $chr(91) $+ Total: %chantnum $+ $chr(93) $chr(91) $+ Oped: %chanopnum ( $+ $percent(%chanopnum,%chantnum) $+ $chr(37) $+ ) $+ $chr(93) $chr(91) $+ Voiced: %chanvnum ( $+ $percent(%chanvnum,%chantnum) $+ $chr(37) $+ ) $+ $chr(93) $chr(91) $+ Normal: %channum ( $+ $percent(%channum,%chantnum) $+ $chr(37) $+ ) $+ $chr(93) $+
/set %chantnum 0
/set %chanopnum 0
/set %chanvnum 0
/set %channum 0
:done
}
#chanstats end
raw 332:* {
set %schantop $3-
}
raw 436:* {
/wecho -WARNING- Nick Collide Detected! Changing nick!
/rn
/.timer 1 4 /rn
/.timer 1 60 /nick $me
}
raw 367:* {
inc %cbns 1
}
raw 324:* {
set %scmd $3
}
raw 332:* {
set %schantop $3-
}
#rawecho on
raw 311:* {
/recho Whois Reply for $+ $2 $+
/recho Nick: $2
/recho Address: ( $+ $3 $+ @ $+ $4 $+ )
/recho IRC Name: $6-
/halt
}
raw 319:* { /recho Channels: $3- | /halt }
raw 312:* { /recho Server: $3 | /halt }
raw 301:* {
/wecho $2 is away
/wecho Reason: $3-
/halt
}
raw 313:* {
/wecho -WARNING- IRCop Detected!
/wecho $2-
/halt
}
raw 314:* {
/recho WhoWas reply for $+ $2 $+
/recho Nick: $2
/recho Address: $3 $+ @ $+ $4
/recho Name: $6-
/halt
}
raw 317:* { /recho Idle Time: $3 $5 | /halt }
raw 401:* { /recho $+ $2 $+ $+ $3- $+ | /halt }
raw 318:* { /recho End of Whois for $+ $2 $+ | /halt }
raw 369:* { /recho End of WhoWas for $+ $2 $+ | /halt }
raw 421:* { /wecho $+ $2 $+ Unknown command | /halt }
raw 401:* { /recho $2 No such Nick | /halt }
raw 402:* { /recho $2 No such Server | /halt }
raw 403:* { /recho $2 No such Channel | /halt }
raw 404:* { /recho Cannot send to channel | /halt }
raw 406:* { /recho $2 There was no such nickname | /halt }
raw 433:* { /recho $2 Nickname already in use | /halt }
raw 472:* { /recho $2 Unknown mode | /halt }
raw 501:* { /recho Unknown mode flag | /halt }
#rawecho end